import home from './home'

export default [
  {
    path: '/',
    component: () => import('_views/Main'),
    redirect: '/home',
    children: [home], // 各模块都挂载在'/'下
  },
  {
    path: '/login',
    meta: {
      auth: false,
      title: '登录',
    },
    component: () => import('_views/Login'),
  },
  {
    path: '/403',
    meta: {
      auth: false,
      title: '403',
    },
    component: () => import('_views/NoAuthority'),
  },
  {
    path: '*',
    meta: {
      auth: false,
      title: '404',
    },
    component: () => import('_views/NotFound'),
  },
]
